package com.baosight.risk.service.zbaa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_ZBAA_TARGET_UNIT
 */
@Data
@ApiModel
@Table(name = "T_ZBAA_TARGET_UNIT")
public class ZbaaTargetUnit extends BaseEntity {

    /**
     * 指标ID
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    TARGET_ID
     * Nullable:  true
     */
    @ApiModelProperty("指标ID")
    @Column(name = "TARGET_ID")
    private String targetId;

    /**
     * 指标编号
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    TARGET_NO
     * Nullable:  true
     */
    @ApiModelProperty("指标编号")
    @Column(name = "TARGET_NO")
    private String targetNo;

    /**
     * 指标名称
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    TARGET_NAME
     * Nullable:  true
     */
    @ApiModelProperty("指标名称")
    @Column(name = "TARGET_NAME")
    private String targetName;

    /**
     * 单位
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @ApiModelProperty("单位")
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 单位名称
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @ApiModelProperty("单位名称")
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 备注
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    REMARK
     * Nullable:  true
     */
    @ApiModelProperty("备注")
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
//    private String rowOrder;
    private  Integer rowOrder;

    /**
     * 排序
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    PERIOD_TYPE
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "PERIOD_TYPE")
    private String periodType;

    /**
     * 排序
     * <p>
     * Table:     T_ZBAA_TARGET_UNIT
     * Column:    PERIOD_NAME
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "PERIOD_NAME")
    private String periodTypeName;

}